﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Linq;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
using UIProcessSchemaObjects;

namespace UIProcessCoreWorkflows
{
    public sealed partial class DownloadForm : SequentialWorkflowActivity
    {
        public DownloadForm()
        {
            InitializeComponent();
        }

        public static DependencyProperty FormToReturnProperty = DependencyProperty.Register("FormToReturn", typeof(UIProcessSchemaObjects.Form), typeof(UIProcessCoreWorkflows.DownloadForm));

        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        [BrowsableAttribute(true)]
        [CategoryAttribute("Parameters")]
        public UIProcessSchemaObjects.Form FormToReturn
        {
            get
            {
                return ((UIProcessSchemaObjects.Form)(base.GetValue(UIProcessCoreWorkflows.DownloadForm.FormToReturnProperty)));
            }
            set
            {
                base.SetValue(UIProcessCoreWorkflows.DownloadForm.FormToReturnProperty, value);
            }
        }

        public static DependencyProperty DownloadFormRequestProperty = DependencyProperty.Register("DownloadFormRequest", typeof(UIProcessSchemaObjects.DownloadFormRequest), typeof(UIProcessCoreWorkflows.DownloadForm));

        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        [BrowsableAttribute(true)]
        [CategoryAttribute("Parameters")]
        public UIProcessSchemaObjects.DownloadFormRequest DownloadFormRequest
        {
            get
            {
                return ((UIProcessSchemaObjects.DownloadFormRequest)(base.GetValue(UIProcessCoreWorkflows.DownloadForm.DownloadFormRequestProperty)));
            }
            set
            {
                base.SetValue(UIProcessCoreWorkflows.DownloadForm.DownloadFormRequestProperty, value);
            }
        }
    }

}
